package com.drools.drools.autoFocus;

import com.drools.drools.BaseTest;
import org.junit.Test;
import org.kie.api.runtime.KieSession;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2019-05-06
 * Time: 21:39
 * Des:
 */
public class AutoFocusTest extends BaseTest{

    @Test
    public void test(){
        KieSession kieSession= this.getKieSessionBySessionName("autoFocus-rule");
        kieSession.fireAllRules();
        kieSession.dispose();
    }
}
